cmake: resolve symlinks in LLVMConfig.cmake
authorPeter Wu <peter@lekensteyn.nl>
Fri, 4 May 2018 13:43:06 +0000 (15:43 +0200)
committerGianfranco Costamagna <locutusofborg@debian.org>
Wed, 27 Jun 2018 14:24:20 +0000 (15:24 +0100)
commit7d78bb48012b1c81ed0b97353338fcc658b910ff
treeadeb67dc209b67e80cacb193fb885d889025c3e0
parent9e5f0bc9fe710302aea9773e64406f1777e8d4a2
cmake: resolve symlinks in LLVMConfig.cmake

Ensure that symlinks such as /usr/lib/llvm-X.Y/cmake (pointing to
lib/cmake/llvm) are resolved. This ensures that LLVM_INSTALL_PREFIX
becomes /usr/lib/llvm-X.Y instead of /usr.

Partially addresses PR37128

Gbp-Pq: Name 0001-llvm-cmake-resolve-symlinks-in-LLVMConfig.cmake.patch
cmake/modules/CMakeLists.txt